%%%%%
%%
%% This file sets up the Green datatype and creates Green macros.
%% These are for greensheets.
%%
%%%%%

\DECLARESUBTYPE{Green}{Element}
\PRESETS{Green}{
  \FD\MYfile	{} %% filename (in \greens dir)
  \FS\MYtext	{\ifx\MYfile\empty\else%
		  \getextractenvs{document}{\greens/\MYfile}%
		\fi}
  }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{Green}{\gTest}{
  \s\MYname	{Test Greensheet}
  \s\MYfile	{README.tex}
  }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{Green}{\gPrepareWedding}{
  \s\MYname	{Wedding Preparations}
  \s\MYfile	{weddingprep.tex}
  }
  
  \NEW{Green}{\gWedding}{
  \s\MYname	{The Wedding Ceremony}
  \s\MYfile	{wedding.tex}
  }

\NEW{Green}{\gVirus}{
  \s\MYname	{$\Omega$}
  \s\MYfile	{virus.tex}
  }
  
\NEW{Green}{\gDreamController}{
  \s\MYname	{The Dream Controller User Guide}
  \s\MYfile	{dreamController.tex}
  }
  
\NEW{Green}{\gHacking}{
  \s\MYname	{Hacking}
  \s\MYfile	{hacking.tex}
  }
  
\NEW{Green}{\gPoisonMaking}{
  \s\MYname	{How to Make Poisoned Wine}
  \s\MYfile	{PoisonMaking.tex}
  }

\NEW{Green}{\gFingerprint}{
  \s\MYname	{Fingerprint Collecting}
  \s\MYfile	{fingerprintKit.tex}
  }

  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%